package com.teamall.web.xxgl.db.dao.mapper;

import com.teamall.web.xxgl.db.arg.CodeAidReportDataArg;
import com.teamall.web.xxgl.db.po.CodeAidReportDataPO;

import java.math.*;
import java.util.*;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

public interface ICodeAidReportDataMapper {
    
    List<Integer> countByArg(CodeAidReportDataArg arg);

    List<CodeAidReportDataPO> selectByArg(CodeAidReportDataArg arg);

    CodeAidReportDataPO selectByPrimaryKey(Integer id);

    List<CodeAidReportDataPO> selectByArgAndPage(CodeAidReportDataArg arg, RowBounds rowBound);

    int insert(CodeAidReportDataPO record);

    int insertSelective(CodeAidReportDataPO record);

    int insertBatch(@Param("list") List<CodeAidReportDataPO> records);

    int updateByArgSelective(@Param("record") CodeAidReportDataPO record,
            @Param("arg") CodeAidReportDataArg arg);

    int updateByArg(@Param("record") CodeAidReportDataPO record,
            @Param("arg") CodeAidReportDataArg arg);

    int updateByPrimaryKeySelective(CodeAidReportDataPO record);

    int updateByPrimaryKey(CodeAidReportDataPO record);
    
    int deleteByArg(CodeAidReportDataArg arg);
    
    int deleteByPrimaryKey(Integer id);
    
}